package com.jvm123.demo.entity;

import com.jvm123.meilisearch.anotation.Index;
import com.jvm123.meilisearch.json.MatchedBean;

/**
 * @author yawn
 */
@Index(uid = "movies", primaryKey = "id")
public class Movie extends MatchedBean<Movie> {

    private Long id;
    private String href;
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
